package com.cskaoyan.mall.service;

import com.cskaoyan.mall.mapper.GoodsProductMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * Created by Zsp
 * 2021/1/9
 */
@Service
public class GoodsProductServiceImpl implements GoodsProductService{

    @Autowired
    GoodsProductMapper goodsProductMapper;

    @Override
    public Integer getProductTotal() {
        return goodsProductMapper.selectAll();
    }
}
